package com.tz.mapper;

import com.tz.entity.ResearchAdvice;

import java.util.List;

/**
 * Created by 侯畅畅 on 2018/1/2.
 */
public interface ResearchAdviceMapper {
    /**
     * 增加建议
     */
    void insertResearchAdvice(ResearchAdvice researchAdvice);
    /**
     * 删除建议
     * 根据模板的id进行删除
     */
    void deleteResearchAdvice(Long tempid);
    /**
     * 根据tempid查询出advice
     */
    List<ResearchAdvice> selectResearchAdviceByTempid(Long tempid);
}
